package org.lee.middle.config;

import org.springframework.util.StringUtils;

public class StarterService {

    private String user;

    public StarterService(String user) {
        this.user = user;
    }

    public String[] split(String splitSymbol) {
        if (StringUtils.isEmpty(user) || StringUtils.isEmpty(splitSymbol)) {
            return null;
        }
        return user.split(splitSymbol);
    }
}
